﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using DTO;
using System.Data;

namespace BUS
{
    public class HoaDonBUS
    {
        public static DataTable GetAll()
        {
            return HoaDonDAO.GetAll();
        }
        public static void InsertHoaDon(HoaDonDTO hd)
        {
            HoaDonDAO.InsertHoaDon(hd);
        }
        public static DataTable LayMaxMaHoaDon()
        {
            return HoaDonDAO.LayMaxMaHoaDon();
        }
        public static DataTable LayDanhSachHoaDonTheoThang(int thang, int nam)
        {
            return HoaDonDAO.LayDanhSachHoaDonTheoThang(thang, nam);
        }
    }
}
